FROM openjdk:8-jdk-alpine
#WORKDIR /
VOLUME /tmp
EXPOSE 58080 5005
COPY /target/*.?ar /app/
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005","/app/docker-demo1-1.0.0.jar"]